/*
 * Project: BoboDesignPattern
 * 
 * File Created at 2016年8月16日
 * 
 * Copyright 2012 Greenline.com Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * Greenline Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Greenline.com.
 */
package composite;

/**
 * @Type Category
 * @Desc
 * @author boboge
 * @date 2016年8月16日
 * @Version V1.0
 */
public abstract class Category {
    protected String name;

    public Category(String name) {
        this.name = name;
    }

    public abstract void add(Category category);

    public abstract void remove(Category category);

    public abstract void display(int x);

}
